package com.tianqu.tms.entity;

import java.sql.Timestamp;

import com.tianqu.tms.core.base.TmsEntity;
import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.core.exception.TmsException;
import com.tianqu.tms.dao.CarDao;
import com.tianqu.tms.dao.TmsDao;
import com.tianqu.tms.dao.TransferPersonalCarInfoDao;
import com.tianqu.tms.dto.MarketCarInfoDto;
import com.tianqu.tms.dto.TransferPersonalCarInfoDto;

/**
 * 
 * 非库存车辆基本信息
 * 
 * @author Administrator
 * 
 */
public class TransferPersonalCarInfo extends TmsEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7825538307932255762L;


	private int id;// Id
	private String serial;// 车辆编号
	private String carName;// 车辆名称
	private String carOwner;// 车主姓名
	private String vin;// VIN码
	private String engine;// 发动机号
	private String licensePlate;// 车牌号码
	private int price;// 出售价格
	private int color;// 颜色
	private String modelCode;// 车辆型号代码
	private String vendorCode;// 车辆厂牌代码
	private String regDate;// 登记日期
	private String yearCarefulPeriod;// 年检日期
	private int displacement;// 排气量
	private String jqx;// 交强险日期
	private int carUse;// 使用性质
	private int carType;// 车辆类型
	private int attribute;// 附件属性
	private int mileage;// 行驶里程
	private int gearbox;// 变速箱类型
	private String sendCardDate;// 行驶证发证日期
	private int cardType;// 号牌种类
	private int countryStyle;// 国别
	private String registerCardNo;// 登级证书编号
	private String companyContactPerson;// 公司联系人
	private String companyContactPhone;// 公司联系人电话
	private String carOwnerIdCardNo;// 车主身份证号
	private String vendorId;// 车辆品牌Id
	private String brandId;// 车系Id
	private String carStyleId;// 车辆款式Id
	// private String memberId;// 会员ID
	private int fuelType;// 燃料种类
	private int loadquality;// 核定载质量
	private int passenger;// 核定载客
	private int ownerType;// 车主类别
	private String ownerPhone;// 车主手机号码
	private String ownerAddress;// 车主住址
	private String ownerOrgNo;// 车主组织机构代码证号
	private String photo_1;// 左前图片
	private String photo_2;// 右前图片
	private String photo_3;// 左后图片
	private String photo_4;// 右后图片
	private String photo_5;// 仪表盘图片
	private String photo_6;// 中控台图片
	private String photo_7;// 前排座椅图片
	private String photo_8;// 后排座椅图片
	private int status;// 车辆状态
	private int attestStatus;
	private Timestamp insertTime;// 受理时间
	private int insertUserId;// 更新用户
	private Timestamp updateTime;// 更新时间
	private int updateUserId;// 更新用户
	



	/**
	 * 
	 */

	public static TransferPersonalCarInfo getInstance() {
		TransferPersonalCarInfo person = new TransferPersonalCarInfo();
		person.setExisting(false);
		return person;
	}

	/**
	 * 添加一条数据
	 * 
	 * 车辆评估部分
	 * 
	 * @return
	 * @throws TmsDaoException
	 */
	public void insertCarBaseInfoAtAssess(TransferPersonalCarInfo entity)
			throws TmsDaoException {
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);
		// 将entity信息set到dto中
		TransferPersonalCarInfoDto dto = new TransferPersonalCarInfoDto();

		dto = setDtoFromEntity(dto, entity);

		uDao.insertCarBaseInfoAtAssess(dto);
	}

	/**
	 * 车辆评估更新
	 * @throws TmsDaoException 
	 */
	public void updateCarBaseInfoAtAssess(TransferPersonalCarInfo entity) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);	
		
		// 将entity信息set到dto中
		TransferPersonalCarInfoDto dto = new TransferPersonalCarInfoDto();
		dto = setDtoFromEntity(dto, entity);
		
		uDao.updateCarBaseInfoAtAssess(dto);
		
	}

	/**
	 * 查验
	 * @return
	 * @throws TmsDaoException 
	 */
	public void updatePersonInfobySerial(TransferPersonalCarInfo entity) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);		
		TransferPersonalCarInfoDto dto = new TransferPersonalCarInfoDto();
		dto.setSerial(entity.getSerial());
		dto.setCarOwner(entity.getCarOwner());
		dto.setOwnerType(entity.getOwnerType());
		dto.setUpdateUserId(entity.getUpdateUserId());
		dto.setStatus(entity.getStatus());
		uDao.updatePersonInfobySerial(dto);
		
	}
	/**
	 * 待办受理查询
	 * @return
	 * @throws TmsDaoException 
	 */
	public TransferPersonalCarInfo getPersonalCarInfoBySerial(String serial) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);	
		TransferPersonalCarInfoDto dto = uDao.getPersonalCarInfoBySerial(serial);
		TransferPersonalCarInfo entity = null;
		if(dto!=null)
		{
			//将Dto信息set到entity中
			entity = new TransferPersonalCarInfo();
			entity = setEntityFromDto(dto,entity);
		}
		return entity;
	}
	
	public TransferPersonalCarInfo getPersonalCarInfoByVin(String vin) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);	
		TransferPersonalCarInfoDto dto = uDao.getPersonalCarInfoByVin(vin);
		TransferPersonalCarInfo entity = null;
		if(dto!=null)
		{
			//将Dto信息set到entity中
			entity = new TransferPersonalCarInfo();
			entity = setEntityFromDto(dto,entity);
		}
		return entity;
	}
	
	public TransferPersonalCarInfo getPersonalCarInfoByLicensePlate(String licensePlate) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);	
		TransferPersonalCarInfoDto dto = uDao.getPersonalCarInfoByLicensePlate(licensePlate);
		TransferPersonalCarInfo entity = null;
		if(dto!=null)
		{
			entity = new TransferPersonalCarInfo();
			entity = setEntityFromDto(dto,entity);
		}
		return entity;
	}
	
	/**
	 * 向entity赋值
	 * 
	 * @param TransferPersonalCarInfoDto
	 */
	private TransferPersonalCarInfo setEntityFromDto(TransferPersonalCarInfoDto dto,TransferPersonalCarInfo entity) {
		entity.setAttribute(dto.getAttribute());
		entity.setBrandId(dto.getBrandId());
		entity.setCarStyleId(dto.getCarStyleId());
		entity.setCardType(dto.getCardType());
		entity.setLicensePlate(dto.getLicensePlate());
		entity.setCarOwner(dto.getCarOwner());
		entity.setCarOwnerIdCardNo(dto.getCarOwnerIdCardNo());
		entity.setCarType(dto.getCarType());
		entity.setCarUse(dto.getCarUse());
		entity.setColor(dto.getColor());
		entity.setCompanyContactPerson(dto.getCompanyContactPerson());
		entity.setCompanyContactPhone(dto.getCompanyContactPhone());
		entity.setCountryStyle(dto.getCountryStyle());
		if(dto.getDisplacement() > 0){
			entity.setDisplacement(dto.getDisplacement());
		}else{
			entity.setDisplacement(0);
		}
		entity.setEngine(dto.getEngine());
		entity.setFuelType(dto.getFuelType());
		entity.setGearbox(dto.getGearbox());
		entity.setJqx(dto.getJqx());
		entity.setLoadquality(dto.getLoadquality());
		entity.setMileage(dto.getMileage());
		entity.setModelCode(dto.getModelCode());
		entity.setOwnerAddress(dto.getOwnerAddress());
		entity.setOwnerOrgNo(dto.getOwnerOrgNo());
		entity.setOwnerPhone(dto.getOwnerPhone());
		entity.setOwnerType(dto.getOwnerType());
		entity.setPassenger(dto.getPassenger());
		entity.setPrice(dto.getPrice());
		entity.setRegDate(dto.getRegDate());
		entity.setRegisterCardNo(dto.getRegisterCardNo());
		entity.setSendCardDate(dto.getSendCardDate());
		entity.setSerial(dto.getSerial());
		entity.setUpdateTime(dto.getUpdateTime());
		entity.setUpdateUserId(dto.getUpdateUserId());
		entity.setVendorCode(dto.getVendorCode());
		entity.setVin(dto.getVin());
		entity.setYearCarefulPeriod(dto.getYearCarefulPeriod());
		entity.setPhoto_1(dto.getPhoto_1());
		entity.setPhoto_2(dto.getPhoto_2());
		entity.setPhoto_3(dto.getPhoto_3());
		entity.setPhoto_4(dto.getPhoto_4());
		entity.setPhoto_5(dto.getPhoto_5());
		entity.setPhoto_6(dto.getPhoto_6());
		entity.setPhoto_7(dto.getPhoto_7());
		entity.setPhoto_8(dto.getPhoto_8());
		entity.setVendorId(dto.getVendorId());
		entity.setStatus(dto.getStatus());
		entity.setCarName(dto.getCarName());
		entity.setInsertTime(dto.getInsertTime());
		return entity;
		}

	/**
	 * 从Entity向dto赋值
	 * @param dto
	 * @param TransferPersonalCarInfo
	 * @return
	 */
	private TransferPersonalCarInfoDto setDtoFromEntity(TransferPersonalCarInfoDto dto,TransferPersonalCarInfo entity){
		dto.setId((int)entity.getId());
		dto.setAttribute(entity.getAttribute());
		dto.setBrandId(entity.getBrandId());
		dto.setCardType(entity.getCardType());
		dto.setLicensePlate(entity.getLicensePlate());
		dto.setCarOwner(entity.getCarOwner());
		dto.setCarOwnerIdCardNo(entity.getCarOwnerIdCardNo());
		dto.setCarType(entity.getCarType());
		dto.setCarUse(entity.getCarUse());
		dto.setColor(entity.getColor());
		dto.setCompanyContactPerson(entity.getCompanyContactPerson());
		dto.setCompanyContactPhone(entity.getCompanyContactPhone());
		dto.setCountryStyle(entity.getCountryStyle());
		dto.setDisplacement(entity.getDisplacement());
		dto.setEngine(entity.getEngine());
		dto.setFuelType(entity.getFuelType());
		dto.setGearbox(entity.getGearbox());
		dto.setJqx(entity.getJqx());
		dto.setLoadquality(entity.getLoadquality());
		dto.setMileage(entity.getMileage());
		dto.setModelCode(entity.getModelCode());
		dto.setOwnerAddress(entity.getOwnerAddress());
		dto.setOwnerOrgNo(entity.getOwnerOrgNo());
		dto.setOwnerPhone(entity.getOwnerPhone());
		dto.setOwnerType(entity.getOwnerType());
		dto.setPassenger(entity.getPassenger());
		dto.setPrice(entity.getPrice());
		dto.setRegDate(entity.getRegDate());
		dto.setRegisterCardNo(entity.getRegisterCardNo());
		dto.setSendCardDate(entity.getSendCardDate());
		dto.setSerial(entity.getSerial());
		dto.setUpdateTime(entity.getUpdateTime());
		dto.setUpdateUserId(entity.getUpdateUserId());
		dto.setVendorCode(entity.getVendorCode());
		dto.setVin(entity.getVin());
		dto.setYearCarefulPeriod(entity.getYearCarefulPeriod());
		dto.setUpdateUserId(entity.getUpdateUserId());
		dto.setCarStyleId(entity.getCarStyleId());
		dto.setVendorId(entity.getVendorId());
		dto.setCarName(entity.getCarName());
		dto.setInsertUserId(entity.getInsertUserId());
		dto.setPhoto_1(entity.getPhoto_1());
		dto.setPhoto_2(entity.getPhoto_2());
		dto.setPhoto_3(entity.getPhoto_3());
		dto.setPhoto_4(entity.getPhoto_4());
		dto.setPhoto_5(entity.getPhoto_5());
		dto.setPhoto_6(entity.getPhoto_6());
		dto.setPhoto_7(entity.getPhoto_7());
		dto.setPhoto_8(entity.getPhoto_8());
		dto.setStatus(entity.getStatus());
		dto.setAttestStatus(entity.getAttestStatus());
		return dto;
	}
	/**
	 * 删除个人库存信息
	 * @param serial
	 * @throws TmsDaoException 
	 */
	public void deletePersonalInfoBySerial(String serial) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);
		uDao.deletePersonalInfoBySerial(serial);
	}
	/**
	 * 更新
	 * @param person
	 * @throws TmsDaoException
	 */
	public void updateCarBaseInfo(TransferPersonalCarInfo person) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);
		
		TransferPersonalCarInfoDto dto = new TransferPersonalCarInfoDto();
		
		dto = setDtoFromEntity(dto, person);
		
		
		uDao.updateCarBaseInfo(dto);
		
	}
	/**
	 * 更新
	 * @param person
	 * @throws TmsDaoException
	 */
	public void updateMarketInfoByLicensePlate(TransferPersonalCarInfo person) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);
		
		TransferPersonalCarInfoDto dto = new TransferPersonalCarInfoDto();
		
		dto = setDtoFromEntity(dto, person);
		
		
		uDao.updateMarketInfoByLicensePlate(dto);
		
	}
	/**
	 * 更新车辆状态
	 * @param person
	 * @throws TmsDaoException
	 */
	public void updateCarStatus(TransferPersonalCarInfo person) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);
		TransferPersonalCarInfoDto dto = new TransferPersonalCarInfoDto();
		dto = setDtoFromEntity(dto, person);
		uDao.updateCarStatus(dto);
	}
	
	public void updateTransferPsersonalStatusByLicensePlate(int status,String licensePlate) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);
		TransferPersonalCarInfoDto dto = new TransferPersonalCarInfoDto();
		dto.setStatus(status);
		dto.setLicensePlate(licensePlate);
		uDao.updateTransferPsersonalStatusByLicensePlate(status,licensePlate);
	}
	
	public void updateLicenseBySerial(TransferPersonalCarInfo person) throws TmsDaoException
	{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);
		TransferPersonalCarInfoDto dto = new TransferPersonalCarInfoDto();
    	dto.setUpdateUserId(person.getUpdateUserId());
    	dto.setLicensePlate(person.getLicensePlate());
    	dto.setSerial(person.getSerial());		
    	uDao.updateLicenseBySerial(dto);
	}
	
	public void updateCarNameS(TransferPersonalCarInfo pcar)throws TmsDaoException{
		TransferPersonalCarInfoDao uDao = (TransferPersonalCarInfoDao) TmsDao.getInstance(TmsDao.TMS_TRANSFER_PERSONALCAR_INFO);
		TransferPersonalCarInfoDto dto = new TransferPersonalCarInfoDto();
    	dto.setSerial(pcar.getSerial());
    	dto.setGearbox(pcar.getGearbox());
    	dto.setDisplacement(pcar.getDisplacement());
    	dto.setVendorId(pcar.getVendorId());
    	dto.setBrandId(pcar.getBrandId());
    	dto.setCarStyleId(pcar.getCarStyleId());
    	dto.setCarName(pcar.getCarName());
    	dto.setUpdateUserId(pcar.getUpdateUserId());
    	uDao.updateCarNameS(dto);
    }
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getSerial() {
		return serial;
	}

	public void setSerial(String serial) {
		this.serial = serial;
	}

	public String getCarName() {
		return carName;
	}

	public void setCarName(String carName) {
		this.carName = carName;
	}

	public String getCarOwner() {
		return carOwner;
	}

	public void setCarOwner(String carOwner) {
		this.carOwner = carOwner;
	}

	public String getVin() {
		return vin;
	}

	public void setVin(String vin) {
		this.vin = vin;
	}

	public String getEngine() {
		return engine;
	}

	public void setEngine(String engine) {
		this.engine = engine;
	}

	public String getLicensePlate() {
		return licensePlate;
	}

	public void setLicensePlate(String licensePlate) {
		this.licensePlate = licensePlate;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getColor() {
		return color;
	}

	public void setColor(int color) {
		this.color = color;
	}

	public String getModelCode() {
		return modelCode;
	}

	public void setModelCode(String modelCode) {
		this.modelCode = modelCode;
	}

	public String getVendorCode() {
		return vendorCode;
	}

	public void setVendorCode(String vendorCode) {
		this.vendorCode = vendorCode;
	}

	public String getRegDate() {
		return regDate;
	}

	public void setRegDate(String regDate) {
		this.regDate = regDate;
	}

	public String getYearCarefulPeriod() {
		return yearCarefulPeriod;
	}

	public void setYearCarefulPeriod(String yearCarefulPeriod) {
		this.yearCarefulPeriod = yearCarefulPeriod;
	}

	public int getDisplacement() {
		return displacement;
	}

	public void setDisplacement(int displacement) {
		this.displacement = displacement;
	}

	public String getJqx() {
		return jqx;
	}

	public void setJqx(String jqx) {
		this.jqx = jqx;
	}

	public int getCarUse() {
		return carUse;
	}

	public void setCarUse(int carUse) {
		this.carUse = carUse;
	}

	public int getCarType() {
		return carType;
	}

	public void setCarType(int carType) {
		this.carType = carType;
	}

	public int getAttribute() {
		return attribute;
	}

	public void setAttribute(int attribute) {
		this.attribute = attribute;
	}

	public int getMileage() {
		return mileage;
	}

	public void setMileage(int mileage) {
		this.mileage = mileage;
	}

	public int getGearbox() {
		return gearbox;
	}

	public void setGearbox(int gearbox) {
		this.gearbox = gearbox;
	}

	public String getSendCardDate() {
		return sendCardDate;
	}

	public void setSendCardDate(String sendCardDate) {
		this.sendCardDate = sendCardDate;
	}

	public int getCardType() {
		return cardType;
	}

	public void setCardType(int cardType) {
		this.cardType = cardType;
	}

	public int getCountryStyle() {
		return countryStyle;
	}

	public void setCountryStyle(int countryStyle) {
		this.countryStyle = countryStyle;
	}

	public String getRegisterCardNo() {
		return registerCardNo;
	}

	public void setRegisterCardNo(String registerCardNo) {
		this.registerCardNo = registerCardNo;
	}

	public String getCompanyContactPerson() {
		return companyContactPerson;
	}

	public void setCompanyContactPerson(String companyContactPerson) {
		this.companyContactPerson = companyContactPerson;
	}

	public String getCompanyContactPhone() {
		return companyContactPhone;
	}

	public void setCompanyContactPhone(String companyContactPhone) {
		this.companyContactPhone = companyContactPhone;
	}

	public String getCarOwnerIdCardNo() {
		return carOwnerIdCardNo;
	}

	public void setCarOwnerIdCardNo(String carOwnerIdCardNo) {
		this.carOwnerIdCardNo = carOwnerIdCardNo;
	}

	public String getVendorId() {
		return vendorId;
	}

	public void setVendorId(String vendorId) {
		this.vendorId = vendorId;
	}

	public String getBrandId() {
		return brandId;
	}

	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}

	public String getCarStyleId() {
		return carStyleId;
	}

	public void setCarStyleId(String carStyleId) {
		this.carStyleId = carStyleId;
	}

	public int getFuelType() {
		return fuelType;
	}

	public void setFuelType(int fuelType) {
		this.fuelType = fuelType;
	}

	public int getLoadquality() {
		return loadquality;
	}

	public void setLoadquality(int loadquality) {
		this.loadquality = loadquality;
	}

	public int getPassenger() {
		return passenger;
	}

	public void setPassenger(int passenger) {
		this.passenger = passenger;
	}

	public int getOwnerType() {
		return ownerType;
	}

	public void setOwnerType(int ownerType) {
		this.ownerType = ownerType;
	}

	public String getOwnerPhone() {
		return ownerPhone;
	}

	public void setOwnerPhone(String ownerPhone) {
		this.ownerPhone = ownerPhone;
	}

	public String getOwnerAddress() {
		return ownerAddress;
	}

	public void setOwnerAddress(String ownerAddress) {
		this.ownerAddress = ownerAddress;
	}

	public String getOwnerOrgNo() {
		return ownerOrgNo;
	}

	public void setOwnerOrgNo(String ownerOrgNo) {
		this.ownerOrgNo = ownerOrgNo;
	}

	public String getPhoto_1() {
		return photo_1;
	}

	public void setPhoto_1(String photo_1) {
		this.photo_1 = photo_1;
	}

	public String getPhoto_2() {
		return photo_2;
	}

	public void setPhoto_2(String photo_2) {
		this.photo_2 = photo_2;
	}

	public String getPhoto_3() {
		return photo_3;
	}

	public void setPhoto_3(String photo_3) {
		this.photo_3 = photo_3;
	}

	public String getPhoto_4() {
		return photo_4;
	}

	public void setPhoto_4(String photo_4) {
		this.photo_4 = photo_4;
	}

	public String getPhoto_5() {
		return photo_5;
	}

	public void setPhoto_5(String photo_5) {
		this.photo_5 = photo_5;
	}

	public String getPhoto_6() {
		return photo_6;
	}

	public void setPhoto_6(String photo_6) {
		this.photo_6 = photo_6;
	}

	public String getPhoto_7() {
		return photo_7;
	}

	public void setPhoto_7(String photo_7) {
		this.photo_7 = photo_7;
	}

	public String getPhoto_8() {
		return photo_8;
	}

	public void setPhoto_8(String photo_8) {
		this.photo_8 = photo_8;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getInsertTime() {
		return insertTime;
	}

	public void setInsertTime(Timestamp insertTime) {
		this.insertTime = insertTime;
	}

	public int getInsertUserId() {
		return insertUserId;
	}

	public void setInsertUserId(int insertUserId) {
		this.insertUserId = insertUserId;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public int getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(int updateUserId) {
		this.updateUserId = updateUserId;
	}

	public int getAttestStatus() {
		return attestStatus;
	}

	public void setAttestStatus(int attestStatus) {
		this.attestStatus = attestStatus;
	}

	@Override
	public void save() throws TmsDaoException, TmsException {
		// TODO Auto-generated method stub

	}

}
